import { Injectable } from '@angular/core';
import { HttpClient } from '../../../../providers/httpClient';
import { Config } from '../../../../providers/config';

@Injectable()
export class MainService {
	constructor(
		public httpClient: HttpClient,
		public config: Config
	) { }
	
	getIRMReport(){
		let postBody: any = {
		  module: "KSB",
		  method: "IRM_A02_0240",
		  params: {
			reporttypeids:"115", 
			minnum:"2",
			maxnum:"4",
		  }
		};
		return this.httpClient.post(postBody, {
		
		});
	  }
	//   getIRMSIRMType(authorgid){
	// 	let postBody: any = {
	// 		module: "KSB",
	// 		method: "IRM_A02_0220",
	// 		params: {
	// 			authorgid:authorgid
	// 		}
	// 	  };
	// 	  return this.httpClient.post(postBody, {
		  
	// 	  });

	//   }  
	//   getIRMSIRMTypes(reportids){
	// 	let postBody: any = {
	// 		module: "KSB",
	// 		method: "IRM_A02_0240",
	// 		params: {
	// 			reportids:reportids,
	// 			minnum:"21",
	// 			maxnum:"41"
	// 		}
	// 	  };
	// 	  return this.httpClient.post(postBody, {
		  
	// 	  });

	//   }  
	
}
